package com.link.base.base.coupons.controller;


import com.link.base.base.coupons.model.CoupStore;
import com.link.base.base.coupons.service.CoupStoreService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * <p>优惠券-适用门店Controller</p>
 * @author wangdawei
 * @date 2018/6/10
 */

@Controller
@RequestMapping("/link/coupStore")
public class CoupStoreController extends BasicController<CoupStore> {

    @Resource
    private CoupStoreService coupStoreService;

    @Override
    public BasicService<CoupStore> getBasicService() throws Exception {
        return coupStoreService;
    }
}
